<div class="ext">

	<? 
	if ($show_menubar) {
	?>
	<div class="ext menubar">
		<ul class="ext menubar_ul">
			<li class="ext"><a href="<?=$webroot?>/">Home</a></li>
			<li class="ext"><a href="<?=$webroot?>/preferences.htm"><?=_("Preferences")?></a></li>
			<li class="ext"><a href="<?=$webroot?>/agenda.htm"><?=_("Agenda")?></a></li>
			<li class="ext"><a href="<?=$webroot?>/bookshelf.htm"><?=_("Bookshelf")?></a></li>
			<li class="ext"><a href="<?=$webroot?>/login+logout.htm"><?=_("Logout")?></a></li>
		</ul>
	</div>
	<?		
	}
	?>
			            
    <div id="logo" class="ext">
        <h1 class="ext"><a class="ext" href="<?=tdUrl("index.htm")?>" title="">CulturaLive</a></h1>        
    </div>
    
    <div class="ext header_dx">
        
        <div class="login_form">
        
        	<?=$loginform ?>								
        
        </div>
        
    </div>
    
</div>   